package com.googlecode.iiddefecttracker.service;

import java.util.List;

import com.googlecode.iiddefecttracker.domain.Defect;
import com.googlecode.iiddefecttracker.domain.EntityNotFound;

/**
 * 
 */
public interface DefectService {
    
    List<Defect> findAllDefects();
    
    Defect findDefectById(Long defectId) throws EntityNotFound;
    
    void saveDefect(Defect defect);
    
}
